package com.coo.navigation 
{
	import flash.display.DisplayObjectContainer;

	public class AbstractControler implements IControlable
	{
		private var _viewer: DisplayObjectContainer;
		private const OVERRIDE_ERROR: String = "AbstractContainer  -  container did not override any function";
		
		public function AbstractControler() 
		{
		}
		
		public function initialize(): void
		{
			trace( "change", _viewer );
		}
		
		protected function change(): void { throw new Error( OVERRIDE_ERROR );  }
		public function set viewer( value: DisplayObjectContainer ): void { _viewer = value; }
		public function get viewer(): DisplayObjectContainer { return _viewer;  }
	}
}